package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: yiang
 * @Date:  2025/10/9 10:43
 * @Description: 
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_role_menu")
public class RoleMenu implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 角色
     */
    @TableField(value = "role_id")
    private Integer roleId;

    /**
     * 菜单
     */
    @TableField(value = "menu_id")
    private Integer menuId;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_ROLE_ID = "role_id";

    public static final String COL_MENU_ID = "menu_id";
}